﻿using System;

namespace SpatialHashLib.Topology.Indexing
{
    public partial class Chain<T>
    {
        struct Link
        {
            static Link empty = new Link() { Previous = -1, Next = -1 };

            public static Link Empty { get { return empty; } }

            public int Previous;
            public int Next;
            public T Item;
        }
    }
}
